package com.xgc.controller;

import com.xgc.server2.Server2FeignClient;
import io.micrometer.observation.annotation.Observed;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class TestController {



    @GetMapping("/test")
    public String test(String doSomething){
        log.info("doSomething: {}" , doSomething);
        return "这是server2";
    }
}
